﻿module Sustainalytics.EsgRatings.Admin {

    export interface IESGProfileBackendService {

        listEsgProfileByAccountId(accountId: string): ng.IPromise<ESGProfileDto[]>;

        loadDefaultEsgProfile(): ng.IPromise<ESGProfileDto>;

        saveProfile(dto: ESGProfileDto): ng.IHttpPromise<ESGProfileDto>;

        addProfile(dto: ESGProfileDto): ng.IHttpPromise<ESGProfileDto>;

        deleteProfile(profId: string): ng.IHttpPromise<any>;

        deleteProfiles(accountId: string, activeState: ActiveTypeEnum): ng.IHttpPromise<any>;

    }
}  